package org.pictual.business.dao;


public abstract class DAOFactory {
	
	public static final int MYSQL = 1;
	
	public static DAOFactory getDAOFactory(int factory){
		
		switch (factory) {
	      case MYSQL:
	          return new MySQLDAOFactory();
	      default: 
	          return null;
		}
	}
	
	public abstract PalabraDAO getPalabraDAO();
	public abstract DefinicionDAO getDefinicionDAO();
	public abstract IdiomaDAO getIdiomaDAO();
	public abstract ImagenDAO getImagenDAO();
	public abstract SequenceGeneratorDAO getSequenceGeneratorDAO();
	
}
